package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupPullTaskDeviceConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupPullTaskDeviceConfigMapper {
    GroupPullTaskDeviceConfig getByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    void addGroupSendTaskDeviceConfig(GroupPullTaskDeviceConfig groupPullTaskDeviceConfig);

    GroupPullTaskDeviceConfig getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(GroupPullTaskDeviceConfig groupPullTaskDeviceConfig);

}
